import request from '@/utils/request'

// 列表
export function getList(data) {
  return request({
    url: '/bus/medicine/queryPage',
    method: 'post',
    data: data
  })
}

export function importData(data) {
  return request({
    url: '/bus/medicine/importData',
    method: 'post',
    data: data
  })
}
export function downTemplate(data) {
  return request({
    url: '/bus/medicine/importTemplate',
    method: 'post',
    data: data
  })
}
export function delData(data) {
  return request({
    url: '/bus/medicine/' + data,
    method: 'delete',
    data: data
  })
}
export function cleanData() {
  return request({
    url: '/bus/medicine/clean',
    method: 'delete'
  })
}